<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>MyShop</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<!-- Bootstrap -->
	<link href="css/bootstrap.css" rel="stylesheet" media="screen">
	<!--myshop css-->
	<link href="css/myshop.css" rel="stylesheet" media="screen">
</head>
<body>
	<!--top-->
	<div class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
				<a class="brand" href="#">MyShop</a>
				<p class="navbar-text  pull-left">JavaEE创造,机会给有准备的人</p>
				
				<form class="navbar-form pull-right">
					<input type="text" class="span2" name="loginName" placeholder="用户名">
					<input type="password" class="span2" name="password" placeholder="密码">
					<button type="submit" class="btn">Sign In</button>
				</form>
				
				<!--登录后用户信息-->
				
				<ul class="nav pull-right">
					<li class="dropdown">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown">
							<i class="icon-user"></i>Jack
							<span class="caret"></span>
						</a>
						<ul class="dropdown-menu">
							<li><a href="#"><i class=" icon-list"></i>我的订单</a></li>
							<li class="divider"></li>
							<li><a href="#">个人信息</a></li>
							<li><a href="#">修改密码</a></li>
							<li class="divider"></li>
							<li><a href="#">注销</a></li>
						</ul>
					</li>
					<li class="dropdown">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown">
							<i class=" icon-shopping-cart"></i>	Cart
							<span class="caret"></span>				
						</a>
						<ul class="dropdown-menu">
							<li><a href="#">查看购物车</a></li>
							<li><a href="#">清空</a></li>					
						</ul>
					</li>
					<li>
						<a class="" href="#"><i class=" icon-circle-arrow-right"></i>	注销</a>
					</li>
				</ul>
			</div>
		</div>
	</div>
	<!-- end of top-->
	<!--Searcher bar-->
	<div class="container">
		<div class="row">
			<div id="logo" class="span3">
				MyShop
			</div>
			<div class="span7">
				<form class="form-search">
				<input type="text" class="span5 search-query">
				<button type="submit" class="btn btn-min btn-warning">Search</button>
			</form>
			</div>
			<div class="span2"></div>
			
		</div>
	</div>
		
	<!--Product Detail-->
	<div class="container">
		<div class="row">
			<div class="span4">
				<div class="gray_box">
					<img  src="product_img\iphone5.jpg" />	
				</div>	
			</div>
			<div class="span8">
				<div class="gray_box">
					<p class="product_name">苹果手机iPhone5(16GB)(白)</p>
					<p class="product_price">价格:¥4799.00</p>
					<p class="product_info">库存:20个</p>
					<p class="product_info">提示:支持货到付款</p>
					<a class="btn btn-mini"href="#">Buy</a> <a class=" btn btn-mini btn-warning"href="#">Add To Cart</a>
				</div>
			</div>
			<div class="span12">
				<div style="height:20px"></div>
			</div>
			<div class="span12">
				<div class="yellow_box">
					<ul class="nav nav-tabs" id="productInfoTab" style="margin-bottom:0px">
						<li class="active"><a href="#productDesc">商品描述</a></li>
						<li><a href="#comment">评价</a></li>
					</ul>
					<div class="tab-content">
						<!--Product descriotn -->
					  <div class="tab-pane active" id="productDesc">
					  		<div class="gray_box">
					  		商品描述<br/>
					  		<br/>
					  		<br/>
					  		</div>
					  </div>
					  	<!--Product comment -->
					  <div class="tab-pane" id="comment">
					  		<div class="gray_box">
					  			评价
					  		</div>
					  </div>
					</div>
				</div>
			</div>	
		</div>
	</div>
	<!--Footer-->
	<footer class="footer">
		<div class="container">
			<p>Java应用开发示例 攀枝花学院 BONE 2013</p>
			<p><a href="http://www.mypzh.com">http://www.mypzh.com</a></p>
		</div>
	</footer>	


	<script src="js/jquery-1.9.1.js"></script>
	<script src="js/bootstrap.js"></script>
	<script type="text/javascript">
	$(document).ready(function($) {
		//register tab  click event
		$('#productInfoTab a').click(function (e) {
			e.preventDefault();
			$(this).tab('show');
		});
	});
	</script>
</body>
</html>